﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Transport.Properties;
using System.IO;
using System.IO.Pipes;
using Main.Transport;
using System.Threading;

namespace Transport
{
    static class Program
    {
        static Main consoleMain;
        /// <summary>
        /// Point d'entrée principal de l'application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            CoucheTransport coucheTransport = new CoucheTransport();
            Thread threadLireDeReseau = new Thread(coucheTransport.LireDeReseau);

            threadLireDeReseau.Start();

            coucheTransport.EcrireVersReseau();
        }
    }
}
